export * as pageSetting from './pageSetting';

import Search from './search';
import Navigation from './navigation';
import Divider from './divider';
import Image from './image';
import Hotspot from './hotspot';
import Goods from './goods';
import UserInfo from './userInfo';

const componentList = [Search, Navigation, Image, Divider, Hotspot, Goods, UserInfo];

export const groupCubes = [
  {
    title: '基础组件',
    type: 'base',
    cubes: [Search, Navigation, Image, Divider, Hotspot, Goods, UserInfo],
  },
];

export const cubeTypes = componentList.map((c) => c.type);

export default componentList;
